<template>
   <div>
      fffffffff-----{{text}}
      <Zi  @xiaoming="demo"/>
  </div>
</template>

<script>
import Zi from "./zizizi.vue";
export default {
   components:{
       Zi
     },
   methods:{
      demo(text){
         console.log(text);
         this.text=text
      }
   },
   data(){
      return {
         text:""
      }
   }
}
</script>

<style>

</style>